package com.lzh.dlykserver.mapper;

import com.lzh.dlykserver.commons.DataScope;
import com.lzh.dlykserver.entity.TActivityRemark;
import com.lzh.dlykserver.query.ActivityRemarkQuery;

import java.util.List;

/**
 * @author 墨墨
 * @description 针对表【t_activity_remark(市场活动备注表)】的数据库操作Mapper
 * @createDate 2024-07-24 09:57:15
 * @Entity com.lzh.dlykserver.entity.TActivityRemark
 */
public interface TActivityRemarkMapper {

    int deleteByPrimaryKey(Long id);

    int insert(TActivityRemark record);

    int insertSelective(TActivityRemark record);

    TActivityRemark selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TActivityRemark record);

    int updateByPrimaryKey(TActivityRemark record);

    @DataScope(tableAlias = "tar", tableField = "create_by")
    List<TActivityRemark> selectActivityRemarkByPage(ActivityRemarkQuery activityRemarkQuery);
}
